import { _decorator, Component, TiledMap } from 'cc';
import ResourceTiledMap from '../runTime/resourceTiledMap';
const { ccclass, property } = _decorator;

@ccclass('TileMap01')
export class TileMap01 extends Component {
    async init() {
        const tile_map_manager = await ResourceTiledMap.Instance.load("backGround/tileMap/tileMap01");
        const tile_map = this.addComponent(TiledMap);
        tile_map.tmxAsset = tile_map_manager;
    }
}
